home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 April / PCWorld_2004-04_cd.bin / software / vyzkuste / pspad / pspad429inst_cz.exe / {app} / Context / XML.DEF < prev   
Text File  |  2003-10-25  |  22KB  |  876 lines

  1. ;; PSPad code template for XML, XSL, XSD, DTD a XPath
  2. ;; Author: Karel Pavelka
  3. ;; E-mail: webjob@seznam.cz
  4. ;; Update: 30.09.2003
  5. ;;
  6. ;;   (black)     XML
  7. ;; B (blue)      PHP
  8. ;; D (dark gray) DTD
  9. ;; F (fuchsia)
  10. ;; G (green)     Entity, zavorky, komentare
  11. ;; M (maroon)
  12. ;; N (navy)      XSD
  13. ;; P (purple)
  14. ;; R (red)       XSL
  15. ;;
  16. ;; Odsazeni: 2
  17. ;;
  18. ;; Na sablone se jeste pracuje! Kritika a poznamky vitany!
  19. ;
  20. ;
  21. [Macro definition]
  22. %align4%=@C align=,align=,,center;left;right;justify,"
  23. %alternate%=@C alternate=,alternate=,,yes;no,"
  24. %archive%=@E archive=,archive=,,,"
  25. %base%=@C base=,base=,,xsd:string;xsd:boolean;xsd:decimal;xsd:integer;xsd:positiveInteger;xsd:date;xsd:time;xsd:dateTime;xsd:gMonth;xsd:gYear;xsd:gDay;xsd:gYearMonth;xsd:anyURI,
  26. %caseorder%=@C case-order=,case-order=,,"upper-first";"lower-first","
  27. %cdatasectionelements%=@E cdata-section-elements=,cdata-section-elements=,,,"
  28. %class%=@E class=,class=,,,"
  29. %contentspec%=@C Specifikace obsahu,,,EMPTY;ANY;(#PCDATA);"()",
  30. %count%=@E count=,count=,,,"
  31. %datafld%=@E datafld=,datafld=,,,"
  32. %datatype%=@C data-type=,data-type=,,text;number,"
  33. %decimalseparator%=@E decimal-separator=,decimal-separator=,,,"
  34. %digit%=@E digit=,digit=,,,"
  35. %dir%=@C dir=,dir=,,ltr;rtl,"
  36. %disableoutputescaping%=@C disable-output-escaping=,disable-output-escaping=,,yes;no,"
  37. %doctypepublic%=@C doctype-public=,doctype-public=,,"//W3C//DTD XHTML 1.0 Transitional//EN";"//W3C//DTD XHTML 1.0 Strict//EN";"//W3C//DTD XHTML 1.0 Frameset//EN",
  38. %doctypesystem%=@E doctype-system=,doctype-system=,,,"
  39. %dta%=@C Datov² typ:,,,CDATA;ID;IDREF;NMTOKEN;NMTOKENS;ENTITY;ENTITIES;NOTATION,
  40. %dta2%=@C Datov² typ:,,,#REQUIRED;#IMPLIED;#FIXED,
  41. %encoding%=@C encoding=,encoding=,,windows-1250;iso-8859-2;utf-8,"
  42. %excluderesultprefixes%=@E exclude-result-prefixes=,exclude-result-prefixes=,,,"
  43. %extensionelementprefixes%=@E extension-element-prefixes=,extension-element-prefixes=,,,"
  44. %fixed%=@C fixed=,fixed=,,true;false,"
  45. %format%=@E format=,format=,,,"
  46. %from%=@E from=,from=,,,"
  47. %groupingseparator%=@E grouping-separator=,grouping-separator=,,,"
  48. %groupingsize%=@E grouping-size=,grouping-size=,,,"
  49. %h%=@C velikost nadpisu:,,,1;2;3;4;5;6,
  50. %height%=@E height=,height=,,,"
  51. %href%=@O HTML href=,href=,http://,html file (*.html;*.htm)|*.html;*.htm,"
  52. %hrefc%=@O CSS href=,href=,,CSS href (*.css)|*.css,",R/
  53. %hrefd%=@O DTD,,,DTD href (*.dtd)|*.dtd,',R/
  54. %hrefx%=@O XSL href=,href=,,XSL href (*.xsl;*.php)|*.xsl;*.php,",R/
  55. %charset%=@C charset=,charset=,,windows-1250;iso-8859-2;utf-8,
  56. %id%=@E id=,id=,,,"
  57. %implementsprefix%=@E implements-prefix=,implements-prefix=,,,"
  58. %include%=@O include,include ,, script file (*.php;*.php3;*.inc)|*.php;*.php3;*.inc,"
  59. %indent%=@C indent=,indent=,,yes;no,"
  60. %infinity%=@E infinity=,infinity=,,,"
  61. %koment%=@C Komentß°,,,"File name: ",
  62. %lang%=@C xml:lang=,xml:lang=,,cs;sk;de;en;hu;"
  63. %language%=@C language=,language=,,ecmascript;javascript;java,"
  64. %lettervalue%=@C letter-value=,letter-value=,,alphabetic;traditional,"
  65. %level%=@C level=,level=,,single;multiple;any,"
  66. %match%=@C match=,match=,,*;@*;/;//;|;.;"text()";"node()";"processing-instruction()";"comment()";"[]","
  67. %max%=@C maxOccurs=,maxOccurs=,,unbounded,"
  68. %media%=@C media,media=,,all;screen;print;aural;braille;projector,"
  69. %method%=@C method,method=,,html;xml;text,"
  70. %min%=@C minOccurs=, minOccurs=,,,"
  71. %minussign%=@E minus-sign=,minus-sign=,,,"
  72. %mixed%=@C mixed=, mixed=,,true;false,"
  73. %mode%=@E mode=,mode=,,,"
  74. %name%=@C name=,name=,,[],"
  75. %namea%=@C Atribut:,,,="",
  76. %namea2%=@C Atribut2:,,,="",
  77. %namea3%=@C Atribut3:,,,="",
  78. %namea4%=@C Atribut4:,,,="",
  79. %namee%=@E Nßzev elementu:,,,
  80. %namei%=@E Nßzev,,,
  81. %namek%=@E Nßzev ko°enovΘho elementu:,,,"
  82. %namespace%=@E namespace=,namespace=,,,"
  83. %NaN%=@E NaN=,NaN=,,,"
  84. %NDATA%=@E NDATA:,NDATA,,,
  85. %omitxmldeclaration%=@C omit-xml-declaration=,omit-xml-declaration=,,yes;no,"
  86. %on%=@C Udßlost:,,,onAbort="";onAfterUpdate="";onBack="";onBlur="";onBounce="";onClick="";onContextMenu="";onCopy="";onCut="";onDataAvailable="";onDatasetComplete="";onDataSetChange="";onDblClick="";onError="";onErrorUpdate="";onFilterChange="";onFocus="";onForward="";onHelp="";onChange="";onKeyDown="";onKeyPress=""; onKeyUp=""; onLoad=""; onMouseDown=""; onMouseDrag=""; onMouseMove=""; onMouseOut="";onMouseOver="";onMouseUp="";onMouseWheel="";onMove="";onPaste="";onReset="";onResize="";onRoweEnter="";onRoweExit=""; onScroll="";onSelect="";onSelectStart="";onSubmit="";onUnload="";
  87. %order%=@C order=,order=,,ascending;descending,"
  88. %patternseparator%=@E pattern-separator=,pattern-separator=,,,"
  89. %percent%=@E percent=,percent=,,,"
  90. %permille%=@E per-mille=,per-mille=,,,"
  91. %php%=@C php,,,if;else:;elseif;endif;endfor,
  92. %priority%=@E priority=,priority=,,,"
  93. %PUBLIC%=@E PUBLIC:,PUBLIC,,,
  94. %resultprefix%=@E result-prefix=,result-prefix=,,,"
  95. %scroll%=@C scroll=,scroll=,,yes;no,"
  96. %sekce%=@C Vlo₧enφ sekce,,,INCLUDE;IGNORE;CDATA,
  97. %select%=@C select=,select=,,*;@*;/;//;|;.;..;"text()";"node()";"processing-instruction()";"comment()";"generate-id()","
  98. %sequencesrc%=@E sequence-src=,sequence-src=,,,"
  99. %src%=@O SystΘmov² identif.:,,,,"
  100. %srcs%=@O src=,src=,,script file (*.js;*.java)|*.js;*.java,"
  101. %standalone%=@C standalone=,standalone=,,no;yes,"
  102. %style%=@T style=,style=,,,"
  103. %stylesheetprefix%=@E stylesheet-prefix=,stylesheet-prefix=,,,"
  104. %SYSTEM%=@O SYSTEM:,,,,"
  105. %target%=@C target=,target=,,_blank;_parent;_self;_top,"
  106. %terminate%=@C terminate=,terminate=,,yes;no,"
  107. %test%=@E test=,test=,,,"
  108. %title%=@E title=,title=,,,"
  109. %title2%=@E Titulek strßnky:
  110. %type%=@C type=,type=,,xsd:string;xsd:boolean;xsd:decimal;xsd:integer;xsd:positiveInteger;xsd:date;xsd:time;xsd:dateTime;xsd:gMonth;xsd:gYear;xsd:gDay;xsd:gYearMonth;xsd:anyURI,
  111. %type4%=@C type=,type=,,text/css;text/javascript,"
  112. %use%=@C use=,use=,,optional;required;prohibited,"
  113. %useattributesets%=@E use-attribute-sets=,use-attribute-sets=,,,"
  114. %valign%=@C valign=,valign=,,baseline;bottom;middle;top,"
  115. %value%=@E value=,value=,,,"
  116. %valued%=@E Hodnota:,,,'" "',"
  117. %version%=@C version=,version=,,"1.0";"1.1","
  118. %width%=@E width=,width=,,,"
  119. %xmlns%=@C xmlns=,xmlns=,,"http://www.w3.org/TR/REC-HTML40";"http://www.w3c.org/Profiles/XHTML-transitional";"http://www.w3.org/TR/xhtml1/strict","
  120. %xmlnsfo%=@K xmlns:fo,,'xmlns:fo="http://www.w3.org/1999/XSL/Format"',
  121. %zerodigit%=@E zero-digit=,zero-digit=,,,"
  122. ;
  123. ;
  124. ;---------------------------------------------------------------------
  125. ; XML (black)
  126. ;---------------------------------------------------------------------
  127. [  |G ned∞litelnß mezera]*Shift+Ctrl+Space
  128.  
  129. [„ |G uvozovka dole (99)]
  130. [“ |G uvozovka naho°e (66)]*Ctrl+U
  131. [9966 |G text do uvozovek (9966)]
  132. „º|“
  133. [' |G apostrof]
  134. '
  135. [> |G znak ">"]
  136. >
  137. [< |G znak "<"]
  138. <
  139. [& |G ampersand]
  140. &
  141. ;
  142. [<> |G zaΦßtek tagu <>]*Alt+,
  143. <|>
  144. [</> |G konec tagu </|>]*Alt+.
  145. </|>
  146. ;
  147. [!-- |G °ßdkov² komentß° <!-- text -->]
  148. <!-- º| -->
  149. [!--- |G komentß° bloku <!-- text -->]
  150. <!--
  151.  º|
  152. -->
  153. ;
  154. [xml | deklarace <?xml ?>]
  155. <?xml %version% %encoding% %standalone%?>
  156. |
  157. ;
  158. [CDATA | <![CDATA[]
  159. <![CDATA[
  160.   º|
  161. ]]>
  162.  
  163. [css | vazba na CSS]
  164. <?xml-stylesheet %alternate% %media% %title% type="text/css" %hrefc%?>
  165. |
  166. ;
  167. [dtd | externφ deklarace, <!DOCTYPE>]
  168. <!DOCTYPE %name% SYSTEM %hrefd%>
  169. |
  170. ;
  171. [ELEMENT | vlo₧enφ znaΦky xml]
  172. <%namee% %namea% %namea2% %namea3% %namea4% %lang%>º|</%namee%>
  173. ;
  174. [xsl | vazba na XSL]
  175. <?xml-stylesheet %media% type="text/xsl" %hrefx%?>
  176. |
  177. ;
  178. [sekce | vlo₧enφ sekce CDATA/INCLUDE/IGNORE]
  179. <![%sekce%[
  180.   º|
  181. ]]>
  182. ;
  183. [entita | vlo₧enφ entity &name;]
  184. &%namei%;
  185. ;
  186. ;---------------------------------------------------------------------
  187. ; HTML
  188. ;---------------------------------------------------------------------
  189. [A |P odkaz, hyperlink]
  190. <A %href% %hrefx% %id% %name% %title% %style% %class% %target% %on%>
  191.   º|
  192. </A>
  193. ;
  194. [B |P tuΦnΘ pφsmo <B></B>]*CTRL+B
  195. <B>º|</B>
  196. ;
  197. [BODY |P t∞lo dokumentu]
  198. <BODY %class% %dir% %id% %lang% %on% %style% %title%>
  199.  º|
  200. </BODY>
  201. ;
  202. [BR |P zalomenφ °ßdku]*CTRL+ENTER
  203. <BR/>
  204. ;
  205. [DIV |P blok]
  206. <DIV %class% %dir% %id% %lang% %on% %style% %title%>º|</DIV>
  207. ;
  208. [I |P kurzφva <I></I>]*CTRL+I
  209. <I>º|</I>
  210. ;
  211. [H1 |P nadpis <H1> a₧ </H6>]
  212. <H%h% %class% %dir% %id% %lang% %on% %style% %title%>º|</H%h%>
  213. ;
  214. [HTMLs |P jednoduchß Üablona HTML strßnky]
  215. <HTML>
  216.   <HEAD>
  217.     <META http-equiv="content-type" content="text/html; %charset%" />
  218.     <META name="generator" content="PSPad editor, www.pspad.com" />
  219.     <TITLE>%title2%</TITLE>
  220.     </HEAD>
  221.   <BODY>
  222.     º|
  223.   </BODY>
  224. </HTML>
  225. ;
  226. [P | odstavec]*SHIFT+CTRL+P
  227. <P %class% %dir% %id% %lang% %on% %style% %title%>
  228.   º|
  229. </P>
  230. ;
  231. [SPAN |P kontejner]
  232. <SPAN %class% %dir% %id% %lang% %on% %style% %title%>º|</SPAN>
  233. ;
  234. [STYLE |P definice internφho stylu]
  235. <STYLE %type4% %dir% %lang% %media% %title%>
  236.  º|
  237. </STYLE>
  238. ;
  239. [TABLE |P definice tabulky]
  240. <TABLE %border% %cellpadding% %cellspacing% %class% %dir% %frame% %id% %lang% %on% %rules% %style% %summary% %title% %width%>
  241.   º|
  242. </TABLE>
  243. ;
  244. [TD |P data tabulky]
  245. <TD %abbr% %alignt% %axis% %char% %charoff% %class% %colspan% %dir% %headers% %id% %lang% %on% %rowspan% %scope% %style% %title% %valign% %xmllang%>º|</TD>
  246. ;
  247. [TR |P definuje °ßdek tabulky]
  248. <TR %alignt% %char% %charoff% %class% %dir% %id% %lang% %on% %style% %title% %valign%>º|</TR>
  249. ;
  250. ;---------------------------------------------------------------------
  251. ; DTD (D)
  252. ;---------------------------------------------------------------------
  253. [ATTLIST |D <!ATTLIST>, deklarace atributu]
  254. <!ATTLIST %namee%
  255.    %name% %dta% %dta2% %valued%>
  256. ;
  257. [DOCTYPE |D <!DOCTYPE>, deklarace elementu]
  258. <!DOCTYPE %namek%
  259.   [
  260.   <!ELEMENT %namee% %contentspec%>
  261.  ]
  262. >
  263. ;
  264. [ELEMENT |D <!ELEMENT>, deklarace elementu]
  265. <!ELEMENT %namee% %contentspec%>
  266. |
  267. ;
  268. [ENTITY |D <!ENTITY>, deklarace entity]
  269. <!ENTITY %namei% %value% %SYSTEM% %PUBLIC% %NDATA%>
  270. |
  271. ;
  272. [NOTATION |D <!NOTATION>, deklarace notace]
  273. <!NOTATION %namei% %src%>
  274. |
  275. ;
  276. ;---------------------------------------------------------------------
  277. ; XSD (N)
  278. ;---------------------------------------------------------------------
  279. ;
  280. [ANNOTATION |N xsd:annotation]
  281. <xsd:annotation>
  282.   º|
  283. </xsd:annotation>
  284. ;
  285. [ALL |N xsd:all, v²b∞r]
  286. <xsd:all>
  287.   º|
  288. </xsd:all>
  289. ;
  290. [ATTRIBUTE |N xsd:attribute, deklarace atributu]
  291. <xsd:attribute %name% %type% %use% %default% %fixed%>
  292.   º|
  293. </xsd:attribute>
  294. ;
  295. [CHOICE |N v²b∞r, xsd:choice]
  296. <xsd:choice %namei% %min% %max%>
  297.   º|
  298. </xsd:choice>
  299. ;
  300. [COMPLEXTYPE |N complexType]
  301. <xsd:complexType %namei% %mixed%>
  302.   º|
  303. </xsd:complexType>
  304. ;
  305. [DOCUMENTATION |N xsd:documentation]
  306. <xsd:documentation>
  307.  º|
  308. </xsd:documentation>
  309. ;
  310. [ELEMENT |N xsd:element, deklarace ko°enovΘho elementu ve schΘmatu]
  311. <xsd:element %name% %type% %min% %max%>
  312.   º|
  313. </xsd:element>
  314. ;
  315. [ELEMENT |N xsd:element, deklarace elementu ve schΘmatu]
  316. <xsd:element %name% %type% %min% %max% />
  317. |
  318. ;
  319. [ENUMERATION |N xsd:enumeration]
  320. <xsd:enumeration %value% />
  321. |
  322. ;
  323. [EXTENSION |N xsd:extension]
  324. <xsd:extension %base%>
  325.   º|
  326. </xsd:extension>
  327. ;
  328. [FRACTIONDIGITS |N xsd:fractionDigits]
  329. <xsd:fractionDigits %value% />
  330. |
  331. ;
  332. [HTMLe | vlo₧enφ html znaΦky]
  333. <html:%namei% %xmlns% %namea% %namea2% %src% />
  334. |
  335. ;
  336. [LENGTH |N xsd:length]
  337. <xsd:length %value% />
  338. |
  339. ;
  340. [MAXEXCLUSIVE |N xsd:maxExclusive]
  341. <xsd:maxExclusive %value% />
  342. |
  343. ;
  344. [MAXINCLUSIVE |N xsd:maxInclusive]
  345. <xsd:maxInclusive %value% />
  346. |
  347. ;
  348. [MAXLENGTH |N xsd:maxLength]
  349. <xsd:maxLength %value% />
  350. |
  351. ;
  352. [MINEXCLUSIVE |N xsd:minExclusive]
  353. <xsd:minExclusive %value% />
  354. |
  355. ;
  356. [MININCLUSIVE |N xsd:minInclusive]
  357. <xsd:minInclusive %value% />
  358. |
  359. ;
  360. [MINLENGTH |N xsd:minLength]
  361. <xsd:minLength %value% />
  362. |
  363. ;
  364. [PATTERN |N xsd:pattern]
  365. <xsd:pattern %value% />
  366. |
  367. ;
  368. [RESTRICTION |N xsd:restriction]
  369. <xsd:restriction %base%>
  370.   º|
  371. </xsd:restriction>
  372. ;
  373. [SEQUENCE |N xsd:sekvence]
  374. <xsd:sequence>
  375.   º|
  376. </xsd:sequence>
  377. ;
  378. [SCHEMA |N xsd:schema, deklarace schΘmatu]
  379. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  380.   º|
  381. </xsd:schema>
  382. ;
  383. [SIMPLECONTENT |N xsd:simpleContent]
  384. <xsd:simpleContent>
  385.   º|
  386. </xsd:simpleContent>
  387. ;
  388. [SIMPLETYPE |N xsd:simpleType]
  389. <xsd:simpleType>
  390.   º|
  391. </xsd:simpleType>
  392. ;
  393. [TOTALDIGITS |N xsd:totalDigits]
  394. <xsd:totalDigits %value% />
  395. |
  396. ;
  397. [WHITESPACE |N xsd:whiteSpace]
  398. <xsd:whiteSpace %value% />
  399. |
  400. ;
  401. ;---------------------------------------------------------------------
  402. ; XSL (R)
  403. ;---------------------------------------------------------------------
  404. [ApplyImports |R xsl:apply-imports, umo₧≥uje aplikovat Üablony z importovanΘho stylesheetu.]
  405. <xsl:apply-imports />|
  406. ;
  407. [ApplyTemplates |R xsl:apply-templates, umo₧≥uje rekurzφvnφ volßnφ seznamu styl∙]
  408. <xsl:apply-templates %select% %mode% />
  409. |
  410. ;
  411. [ATTRIBUTE |R xsl:attribute, umo₧≥uje vygenerovat nov² atribut u danΘho elementu]
  412. <xsl:attribute %name% %namespace%>º|</xsl:attribute>
  413. ;
  414. [AttributeSet |R xsl:attribute-set, definuje soubor atribut∙]
  415. <xsl:attribute-set %name% %useattributesets%>
  416.   º|
  417. </xsl:attribute-set>
  418. ;
  419. [CallTemplate |R xsl:call-template]
  420. <xsl:call-template %name%>º|</xsl:call-template>
  421. ;
  422. [CHOOSE |R xsl:choose]
  423. <xsl:choose>
  424.   º|
  425. </xsl:choose>
  426. ;
  427. [COMMENT |R xsl:comment, na v²stupu vytvo°φ XML komentß°]
  428. <xsl:comment>
  429.   º|
  430. </xsl:comment>
  431. ;
  432. [COPY |R xsl:copy, zkopφruje aktußlnφ uzel]
  433. <xsl:copy %useattributesets%>
  434.   º|
  435. </xsl:copy>
  436. ;
  437. [CopyOf |R xsl:copy-of, zkopφruje dan² prvek na v²stup, vΦetn∞ jeho obsahu]
  438. <xsl:copy-of %select% />|
  439. ;
  440. [DecimalFormat |R xsl:decimal-format, definice nßrodnφ zvyklostφ zobrazovßnφ Φφsel]
  441. <xsl:decimal-format %name% %decimalseparator% %groupingseparator% %infinity% %minussign% %NaN% %percent% %permille% %zerodigit% %digit% %patternseparator% />|
  442. ;
  443. [ELEMENT |R xsl:element]
  444. <xsl:element %name% %namespace% %useattributesets%>
  445.   º|
  446. </xsl:element>
  447. ;
  448. [FALLBACK |R xsl:fallback, definuje alternativnφ k≤d]
  449. <xsl:fallback>
  450.   º|
  451. </xsl:fallback>
  452. ;
  453. [ForEach |R xsl:for-each, opakovanΘ provßd∞nφ p°φkaz∙ uvnit° tohoto elementu]
  454. <xsl:for-each %select%>
  455.   º|
  456. </xsl:for-each>
  457. ;
  458. [IF |R xsl:if, vlo₧φ obsah p°i spln∞nφ podmφnky]
  459. <xsl:if %test%>
  460.   º|
  461. </xsl:if>
  462. ;
  463. [IMPORT |R xsl:import, importovat obsah jednoho stylesheetu do jinΘho]
  464. <xsl:import %hrefx% />|
  465. ;
  466. [INCLUDE |R xsl:include, umo₧≥uje zahrnout obsah jednoho stylesheetu do jinΘho]
  467. <xsl:include %hrefx% />|
  468. ;
  469. [KEY |R xsl:key, umo₧≥uje definovat klφΦ, kter² se pou₧φvß pomocφ funkce key()]
  470. <xsl:key %name% %match% %use% />|
  471. ;
  472. [MESSAGE |R xsl:message, vypφÜe zprßvu na v²stup. Pou₧φvß se zejmΘna pro ohlßÜenφ chyby.]
  473. <xsl:message %terminate%>º|</xsl:message>
  474. ;
  475. [NamespaceAlias |R xsl:namespace-alias, ke zm∞n∞ jmennΘho prostoru u v²stupnφch element∙]
  476. <xsl:namespace-alias %stylesheetprefix% %resultprefix% />
  477. ;
  478. [NUMBER |R xsl:number, vytvo°φ formßtovanΘ Φφslo]
  479. <xsl:number %level% %count% %from% %value% %format% %lang% %lettervalue% %groupingseparator% %groupingsize% %sequencesrc%>º|</xsl:number>
  480. ;
  481. [OTHERWISE |R xsl:otherwise]
  482. <xsl:otherwise>
  483.   º|
  484. </xsl:otherwise>
  485. ;
  486. [OUTPUT |R xsl:output, definuje formßt dokumentu na v²stup]
  487. <xsl:output %method% %version% %encoding% %omitxmldeclaration% %standalone% %doctypepublic% %doctypesystem% %cdatasectionelements% %indent% %mediatype% />
  488. |
  489. ;
  490. [PARAM |R xsl:param, umo₧≥uje deklarovat globßlnφ parametr nebo lokßlnφ parametr]
  491. <xsl:param %name% %select%>º|</xsl:param>
  492. ;
  493. [PreserveSpace |R xsl:preserve-space, zachovßnφ bφl²ch znak∙ mezi elementy]
  494. <xsl:preserve-space %elements% />|
  495. ;
  496. [ProcessingIns |R xsl:processing-instruction, vytvo°φ instrukci pro zpracovßnφ]
  497. <xsl:processing-instruction %name%>º|</xsl:processing-instruction>
  498. ;
  499. [SCRIPT |R xsl:script]
  500. <xsl:script %implementsprefix% %language% %srcs% %archive%>
  501.   º|
  502. </xsl:script>
  503. ;
  504. [SORT |R xsl:sort, umo₧≥uje vybranß data t°φdit podle zadan²ch kritΘriφ]
  505. <xsl:sort %lang% %select% %datatype% %order% %caseorder% />|
  506. ;
  507. [StripSpace |R xsl:strip-space, odstran∞nφ bφl²ch znak∙ mezi elementy]
  508. <xsl:strip-space %elements% />|
  509. ;
  510. [STYLESHEET |R xsl:stylesheet, deklarace stylu XSLT]
  511. <xsl:stylesheet %version% %extensionelementprefixes% %excluderesultprefixes% %id% xmlns:xsl="http://www.w3.org/1999/XSL/Transform" %xmlns% %xmlnsfo%>
  512.   º|
  513. </xsl:stylesheet>
  514. ;
  515. [TEMPLATE |R xsl:template, Üablona]
  516. <xsl:template %match% %name% %mode% %priority%>
  517.   º|
  518. </xsl:template>
  519. ;
  520. [TEXT |R xsl:text, vypφÜe urΦen² textov² °et∞zec na v²stup]
  521. <xsl:text %disableoutputescaping%>º|</xsl:text>
  522. ;
  523. [TRANSFORM |R xsl:transform, plnφ stejnou funkci jako element "xsl:stylesheet"]
  524. <xsl:transform %version% %extensionelementprefixes% %excluderesultprefixes% %id% xmlns:xsl="http://www.w3.org/1999/XSL/Transform" %xmlns%>
  525.   º|
  526. </xsl:transform>
  527. ;
  528. [ValueOf |R xsl:value-of, zobrazφ obsah prvku urΦenΘho pomocφ atributu "select"]
  529. <xsl:value-of %disableoutputescaping% %select% />|
  530. ;
  531. [VARIABLE |R xsl:variable, deklarace lokßlnφ nebo globßlnφ prom∞nnΘ]
  532. <xsl:variable %name% %select%>º|</xsl:variable>
  533. ;
  534. [WHEN |R xsl:when, definuje podmφnku. Pokud je spln∞na, vykonajφ se p°φkazy uvnit° tohoto elementu]
  535. <xsl:when %test%>
  536.   º|
  537. </xsl:when>
  538. ;
  539. [WithParam |R xsl:with-param, umo₧≥uje p°epsat hodnotu parametru uvnit° Üablony]
  540. <xsl:with-param %name% %select%>º|</xsl:with-param>
  541. ;
  542. [XSLs |R jednoduchß XSL strßnka]
  543. <?xml version="1.0" %encoding%?>
  544. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  545. <!-- XSL generated by PSPad editor, www.pspad.com; %RFCTime% -->
  546.   <xsl:template match="/">
  547.      |
  548.   </xsl:template>
  549. </xsl:stylesheet>
  550. ;
  551. ;---------------------------------------------------------------------
  552. ; PHP a ostatnφ (B)
  553. ;---------------------------------------------------------------------
  554. ;
  555. [php |B PHP tag <?php ?>]
  556. <?php
  557.  º|
  558. ?>
  559. ;
  560. [PHPe |B PHP tag s p°φkazem echo]
  561. <?php echo 'º|'; ?>
  562. ;
  563. [PHPi |B PHP tag include]
  564. <?php %include%; ?>
  565. |
  566. ;
  567. [PHPp |B vlo₧enφ PHP k≤du]
  568. <?php %php%| ?>
  569. ;
  570. ;
  571. ;---------------------------------------------------------------------
  572. ;  Mo₧nosti jazyka
  573. ;---------------------------------------------------------------------
  574. [Tree Content]
  575. Entity
  576.  &
  577.  '
  578.  „
  579.  >
  580.  “
  581.  <
  582.   
  583. DTD
  584.  ATTLIST
  585.  DOCTYPE
  586.  ELEMENT
  587.  ENTITY
  588.  NOTATION
  589. XSD
  590.  ALL
  591.  ANNOTATION
  592.  ATTRIBUTE
  593.  ComplexType
  594.  DOCUMENTATION
  595.  ELEMENT
  596.  enumeration
  597.  extension
  598.  fractionDigits
  599.  HTMLe
  600.  CHOICE
  601.  length
  602.  maxExclusive
  603.  maxInclusive
  604.  maxLength
  605.  minExclusive
  606.  minInclusive
  607.  minLength
  608.  pattern
  609.  RESTRICTION
  610.  SEQUENCE
  611.  SCHEMA
  612.  simpleContent
  613.  simpleType
  614.  totalDigits
  615.  whiteSpace
  616. XSL
  617.  ApplyImports
  618.  ApplyTemplates
  619.  ATTRIBUTE
  620.  AttributeSet
  621.  CallTemplate
  622.  COMMENT
  623.  COPY
  624.  CopyOf
  625.  DecimalFormat
  626.  ELEMENT
  627.  Fallback
  628.  ForEach
  629.  CHOOSE
  630.  IF
  631.  Import
  632.  INCLUDE
  633.  KEY
  634.  MESSAGE
  635.  NamespaceAlias
  636.  NUMBER
  637.  OTHERWISE
  638.  OUTPUT
  639.  PARAM
  640.  PreserveSpace
  641.  ProcessingIns
  642.  Script
  643.  SORT
  644.  StripSpace
  645.  Stylesheet
  646.  TEMPLATE
  647.  TEXT
  648.  Transform
  649.  ValueOf
  650.  VARIABLE
  651.  WHEN
  652.  WithParam
  653.  XSLs
  654. HTML
  655.  A
  656.  B
  657.  BODY
  658.  BR
  659.  DIV
  660.  I
  661.  H1
  662.  HTMLs
  663.  P
  664.  SPAN
  665.  STYLE
  666.  TABLE
  667.  TD
  668.  TR
  669. PHP
  670.  php
  671.  PHPe
  672.  PHPi
  673.  PHPp
  674. Funkce XSLT
  675.  current
  676.  document
  677.  element-available
  678.  format-number
  679.  function-available
  680.  generate-id
  681.  key
  682.  system-property
  683.  unparsed-entity-uri
  684. Funkce XPath pro manipulaci se sadou uzl∙
  685.  count
  686.  id
  687.  last
  688.  local-name
  689.  name
  690.  namespace-uri
  691.  position
  692. Funkce XPath pro manipulaci s °et∞zci
  693.  concat
  694.  contains
  695.  normalize-space
  696.  starts-with
  697.  string
  698.  string-lenght
  699.  substring
  700.  substring-after
  701.  substring-before
  702.  translate
  703. Funkce XPath pro prßci s Φφsly
  704.  ceiling
  705.  floor
  706.  number
  707.  round
  708.  sum
  709. BoolovskΘ funkce v dotazovacφm jazyku XPath
  710.  boolean
  711.  false
  712.  lang
  713.  not
  714.  true
  715. ;
  716. [Keywords]
  717. all
  718. alphabetic
  719. alternate=
  720. annotation
  721. ANY
  722. apply-imports
  723. apply-templates
  724. archive=
  725. ascending
  726. attribute
  727. attribute-set
  728. aural
  729. boolean()
  730. braille
  731. call-template
  732. case-order=
  733. CDATA
  734. cdata-section-elements=
  735. ceiling()
  736. comment
  737. complexType
  738. concat()
  739. contains()
  740. copy
  741. copy-of
  742. count()
  743. current()
  744. datafld=
  745. data-type=
  746. decimal-format
  747. decimal-separator=
  748. descending
  749. digit=
  750. disable-output-escaping=
  751. DOCTYPE
  752. doctype-public=
  753. doctype-system=
  754. document()
  755. documentation
  756. ecmascript
  757. element
  758. element-available()
  759. EMPTY
  760. encoding=
  761. ENTITIES
  762. ENTITY
  763. enumeration
  764. exclude-result-prefixes=
  765. extension
  766. extension-element-prefixes=
  767. fallback
  768. false()
  769. FIXED
  770. fixed=
  771. floor()
  772. for-each
  773. format=
  774. format-number()
  775. fractionDigits
  776. from=
  777. function-available()
  778. generate-id()
  779. grouping-separator=
  780. grouping-size=
  781. http://www.w3.org/
  782. charset=
  783. choice
  784. choose
  785. ID
  786. id()
  787. IDREF
  788. if
  789. IGNORE
  790. IMPLIED
  791. import
  792. include
  793. INCLUDE
  794. java
  795. JavaScript
  796. key
  797. key()
  798. lang()
  799. last()
  800. length
  801. letter-value=
  802. local-name()
  803. lower-first
  804. maxExclusive
  805. maxInclusive
  806. maxLength
  807. message
  808. minExclusive
  809. minInclusive
  810. minLength
  811. name()
  812. namespace-alias
  813. namespace-uri()
  814. NMTOKEN
  815. NMTOKENS
  816. normalize-space()
  817. not()
  818. NOTATION
  819. number
  820. number()
  821. otherwise
  822. output
  823. param
  824. pattern
  825. pattern-separator=
  826. PCDATA
  827. per-mille=
  828. position()
  829. preserve-space
  830. print
  831. priority=
  832. processing-instruction
  833. projector
  834. REQUIRED
  835. restriction
  836. result-prefix=
  837. round()
  838. screen
  839. script
  840. sequence
  841. sequence-src=
  842. schema
  843. simpleContent
  844. simpleType
  845. sort
  846. starts-with()
  847. string()
  848. string-lenght()
  849. strip-space
  850. stylesheet
  851. substring()
  852. substring-after()
  853. substring-before()
  854. sum()
  855. system-property()
  856. template
  857. totalDigits
  858. traditional
  859. transform
  860. translate()
  861. true()
  862. unparsed-entity-uri()
  863. upper-first
  864. value-of
  865. variable
  866. when
  867. whiteSpace
  868. with-param
  869. xml-stylesheet
  870. xsd:
  871. xsl:
  872. zero-digit=
  873. ;
  874.